package com.szc.demo01.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.szc.demo01.pojo.Schdule;
import com.szc.demo01.pojo.dto.SchduleAndEmpDto;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author: ShiZhiCheng
 * @Date: 2021/01/12 17:10:30
 */
public interface SchduleMapper extends BaseMapper<Schdule> {
    public List<SchduleAndEmpDto> getall(long id);

    public void add(Schdule e);

    public Schdule selectbyid(long id);

    public List<SchduleAndEmpDto> getbyfinish(@Param("state") long state, @Param("id") long id);

    public void ensurefinish(Schdule s);

    public List<SchduleAndEmpDto> getnotfinish(Integer t);
}
